<%--
  Created by IntelliJ IDEA.
  User: Smile
  Date: 2019/2/22
  Time: 14:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <title>强化练习</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link href="resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="resources/css/mobile-css/home.css" />
    <!-- Le styles -->
    <link href="resources/css/mobile-css/bootstrap.css" rel="stylesheet">
    <%--<link href="resources/chart/morris.css" rel="stylesheet">--%>
    <link href="resources/css/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css" />

    <%--<link href="resources/css/mobile-css/mobile-question-add.css" rel="stylesheet">--%>
    <link href="resources/css/mobile-css/mobile-css.css" rel="stylesheet">
    <link href="resources/css/exam.css" rel="stylesheet" type="text/css">
    <style type="text/css">
        body {
            padding-top: 60px;
            padding-bottom: 40px;
        }
        .btn {
            padding: 2px 6px;
            font-size: 10px;
        }
    </style>
    <link href="resources/css/mobile-css/bootstrap-responsive.css" rel="stylesheet">
    <link rel="shortcut icon" href="<%=basePath%>resources/images/favicon.ico"/>
</head>
<body>
    <jsp:include page="mobile-header.jsp"/>

    <div class="content">

        <div class="container">
            <div class="row">
                <div class="col-xs-3" style="padding-right: 0px;padding-bottom:15px;">
                    <div class="def-bk" id="bk-exam-control">

                        <div class="def-bk-content" id="exam-control">

                            <div>

                                <span style="color:#428bca;">知识类型：</span>
                                <div>
                                    <span>${fieldName }</span>
                                    <span id="knowledgePointId" style="display:none;">${knowledgePointId }</span>
                                    <span id="questionTypeId" style="display:none;">${questionTypeId }</span>
                                    <span id="fieldId" style="display:none;">${fieldId }</span>
                                </div>
                                <span style="color:#428bca;">题型库：</span>
                                <div>
                                    <span id="practice-type" class="pt-singlechoice">${questionTypeName }[ 共 <span class="pt-tno">${amount }</span> 题 ]<span class="pt-qcode" style="display:none;">qt-singlechoice</span></span>
                                </div>
                                <span style="color:#428bca;">学习进度：</span>
                                <div class="h-progress" style="margin-top:5px;">
                                    <span></span>
                                </div>
                                <span id="exam-timestamp" style="display:none;">0</span>
                                <div id="answer-save-info"></div>

                            </div>
                            <div id="question-submit">
                                <button class="btn-success btn" style="width:100%;" id="switch-model-btn" data-exam="true">
                                    答题模式
                                </button>
                            </div>
                            <div id="exam-info" style="display:none;">
                                <span id="answer-hashcode"></span>
                            </div>
                        </div>

                    </div>

                </div>
                <div class="col-xs-9" style="padding-right: 0px;">
                    <div class="def-bk" id="bk-exampaper">
                        <div class="expand-bk-content" id="bk-conent-exampaper">
                            <div id="exampaper-header">
                                <div id="exampaper-title"  style="margin-bottom:15px;">
                                    <i class="fa fa-paper-plane"></i>
                                    <span id="exampaper-title-name"> ${fieldName } - ${practiceName } </span>

                                </div>
                                <!-- <div id="exampaper-desc-container">
                                <div id="exampaper-desc" class="exampaper-filter">

                                </div>
                                </div> -->

                            </div>
                            <ul id="exampaper-body">
                                ${questionStr }
                            </ul>
                            <div id="exampaper-footer">


                                <div id="question-switch">
                                    <button class="btn-success btn" id="previous-q-btn">
                                        <i class="fa fa-chevron-circle-left"></i>上一题

                                    </button>
                                    <button class="btn-success btn" id="next-q-btn">
                                        下一题 <i class="fa fa-chevron-circle-right"></i>
                                    </button>
                                    <button class="btn-danger btn" id="danger">
                                        有异议
                                    </button>
                                    <button class="btn-warning btn" id="submit-q-btn" style="float:right;">
                                        <i class="fa fa-check-circle-o"></i>提交答案
                                    </button>
                                </div>
                                <div id="question-navi">
                                    <div id="question-navi-controller">
                                        <i class="fa fa-arrow-circle-down"></i>
                                        <span>答题卡</span>
                                    </div>
                                    <div id="question-navi-content" ></div>
                                </div>
                            </div>
                        </div>
                        <div class="expand-bk-content" id="bk-conent-comment" style="margin-top:40px;">
                            <div id="comment-title" style="margin-bottom:15px;">
                                <i class="fa fa-comments"></i>
                                <span> 学员评论 </span>

                            </div>
                            <form class="comment-form">
                                <textarea rows="" cols="" style="width:100%;" placeholder="随便说点什么吧..."></textarea>
                                <input class="btn btn-primary" type="submit" value="发表评论">
                            </form>
                            <div class="comment-total"><span class="comment-total-num">0</span>条评论</div>
                            <ul class="comment-list">

                            </ul>
                            <div id="show-more-div">
                                <input type="hidden" id="idx-hidden" value="1">
                                <input type="hidden" id="last-floor-hidden" value="0">
                                <button id="show-more-btn">更多评论</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <hr>
        <jsp:include page="footer.jsp"/>
    </div>
    <!-- Javascript files -->
    <!-- jQuery -->
    <script type="text/javascript" src="resources/js/jquery/jquery-1.9.0.min.js"></script>
    <!-- Bootstrap JS -->
    <script type="text/javascript" src="resources/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="resources/js/all.js?v=0712"></script>
    <script type="text/javascript" src="resources/js/practice-improve-qh.js"></script>
    <script type="text/javascript" src="resources/js/comment.js"></script>
</body>
</html>
